<CFQUERY datasource="#application.dsn#" name="getcomponents">
SELECT * FROM components
</CFQUERY>
[<A href="components_frmaddedit.cfm">Add</A>]
<TABLE border="1" cellspacing="1" cellpadding="1" align="center" width="95%">

	<TR>
		<TD>name</TD>
		<TD>ownerid</TD>
		<TD>Edit/Delete</TD>
	</TR>
	
	<CFOUTPUT>
	<CFLOOP query="getcomponents">
	<TR>

<TD>#name#</TD>
<TD>#ownerid#</TD>

	<TD>[<A href="components_frmaddedit.cfm?componentid=#componentid#">Edit</A>]&nbsp;[<A href="components_frmdelete.cfm?componentid=#componentid#">Delete</A>]</TD>
	</TR>
	</CFLOOP>
	</CFOUTPUT>
</TABLE>
